package com.superzqb.asus.superzqbFragment.superzqbShopQrcode;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;

import com.superzqb.asus.superzqb.R;


public class ContentQrcode extends Activity {
	String content;
	private TextView text;
	private ImageButton backb;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.codedetail);
		initView();
		text.setText(getIntent().getStringExtra("string"));
	}
	private void initView() {
		// TODO Auto-generated method stub
		text=(TextView)findViewById(R.id.filedcode);
		backb=(ImageButton)findViewById(R.id.backButton);
		backb.setOnClickListener(buttonlistener);
	}
	private Button.OnClickListener buttonlistener=new Button.OnClickListener()
	{
		@Override
		public void onClick(View v)
		{
			switch (v.getId()) {
			case R.id.backButton:
				finish();
				break;
			default:
				break;
			}
			
		}
	};
}
